<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>答题结果</title>
    <include file="Public:headhtml"/>
</head>

<body>
<!--头部开始-->
<include file="Public:head"/>
<!--头部结束-->

<!--中间开始-->
<div class="center middle backgray">
    <div class="centern middle">
        <!--内容开始-->
        <ul>
            <li class="video_t1">课程：<{$rooms.name}></li>
            <li class="video_t2"><img src="/Static/images/hua_30.png"/> <span class="position_r"><{$teacher['name']}> <{$teacher['school']}></span>
            </li>
        </ul>


        <!--答题开始-->
        <div class="answer position_r">

            <ul>
                <li class="answer_title">测试成绩：<{$scores}> 所用时间：<{$paperResult['time']}>秒</li>
            </ul>

            <!--题目开始-->
            <div class="answer_nr">
                <!--框开始-->
                <div class="question">
                    <foreach name="questionList" item="vo" key="key">
                        <ul class="answer_bor" style="<if condition='$key neq 0'> display:none</if>" id="questionId<{$vo.id}>">
                            <li class="answer_t1">第 <{$key+1}> 题：<{$vo.title}> </li>
                            <if condition="$vo['image'] neq ''">
                                <li class="answer_t4"><img src="<{$vo['image']}>"/></li>
                            </if>
                            <if condition="$vo['option1'] neq ''">
                                <li class="answer_t2 aid1">
                                    A：<{$vo.option1}>
                                    <img src="/Static/images/hua_35.png" class="position_a answer_t3" style="<if condition='$vo["answer"] eq 1'> display:block</if>" />
                                    <foreach name="errorAnswer" item="voo">
                                        <if condition = "$voo['question'] eq $vo['id'] AND $voo['errorNumber'] eq 1">
                                            <img src="/Static/images/hua_39.png" class="position_a answer_t3" style="display: block;"/>
                                        </if>
                                    </foreach>
                                </li>
                            </if>
                            <if condition="$vo['option2'] neq ''">
                                <li class="answer_t2 aid2">
                                    B：<{$vo.option2}>
                                    <img src="/Static/images/hua_35.png" class="position_a answer_t3" style="<if condition='$vo["answer"] eq 2'> display:block</if>" />
                                    <foreach name="errorAnswer" item="voo">
                                        <if condition = "$voo['question'] eq $vo['id'] AND $voo['errorNumber'] eq 2">
                                            <img src="/Static/images/hua_39.png" class="position_a answer_t3" style="display: block;"/>
                                        </if>
                                    </foreach>
                                </li>
                            </if>
                            <if condition="$vo['option3'] neq ''">
                                <li class="answer_t2 aid3">
                                    C：<{$vo.option3}>
                                    <img src="/Static/images/hua_35.png" class="position_a answer_t3" style="<if condition='$vo["answer"] eq 3'> display:block</if>" />
                                    <foreach name="errorAnswer" item="voo">
                                        <if condition = "$voo['question'] eq $vo['id'] AND $voo['errorNumber'] eq 3">
                                            <img src="/Static/images/hua_39.png" class="position_a answer_t3" style="display: block;"/>
                                        </if>
                                    </foreach>
                                </li>
                            </if>
                            <if condition="$vo['option4'] neq ''">
                                <li class="answer_t2 aid4">
                                    D：<{$vo.option4}>
                                    <img src="/Static/images/hua_35.png" class="position_a answer_t3" style="<if condition= '$vo["answer"] eq 4'> display:block</if>" />
                                    <foreach name="errorAnswer" item="voo">
                                        <if condition = "$voo['question'] eq $vo['id'] AND $voo['errorNumber'] eq 4">
                                            <img src="/Static/images/hua_39.png" class="position_a answer_t3" style="display: block;"/>
                                        </if>
                                    </foreach>
                                </li>
                            </if>
                        </ul>
                    </foreach>
                </div>
                <!--框结束-->

                <!--卡开始-->
                <ul class="sheet">
                    <foreach name="questionList" item="vo" key="key">
                        <div class="sheet_div" id="sheet<{$vo.id}>">
                            <a href="javascript:void(0);" class="sheet_t1">
                                <li style="margin-left:3px;"><{$key+1}></li>
                            </a>
                        </div>
                    </foreach>

                    <!--<div class="sheet_div">-->
                        <!--<a href="#" class="sheet_t4">-->
                            <!--<li style="margin-left:3px;">1</li>-->
                        <!--</a>-->
                        <!--<br/>-->
                        <!--<span class="sheet_t5">已选</span>-->
                    <!--</div>-->


                    <div class="clean_game"></div>
                </ul>
                <!--卡结束-->




            </div>
            <!--题目结束-->


        </div>
        <!--答题结束-->
        <!--课程开始-->
        <ul class="brief_ul">
            <li class="brief_t1">课程简介</li>
            <li class="brief_t2"><{$rooms['description']}></li>
        </ul>
        <!--课程结束-->


        <!--内容结束-->
    </div>
</div>
<!--中间结束-->

<!--结尾开始-->
<include file="Public:footer"/>
<!--结尾结束-->
<script type="text/javascript">
    var paper = [];
    $(function () {
        $(".sheet .sheet_div").click(function () {
            var shuzhi = $(".sheet .sheet_div").index(this);
            $(this).addClass("sheet_t4").removeClass("sheet_t1").siblings().addClass("sheet_t1").removeClass("sheet_t4");

            $(".answer_nr .question .answer_bor").eq(shuzhi).show().siblings().hide();
            $(".anwser .solution").eq(shuzhi).show().siblings().hide();
        });
    });


</script>

</body>
</html>
